package com.rocketmq.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/rocketmq/")
public class RocketmqDemoController {

    @RequestMapping("/demo")
    public String query() {
        System.out.println("welcome to rocketmq index.");
        return "rocketmq/index";
    }

}